﻿using System;
using System.Collections.Generic;
using System.Text;

namespace MyLibrary.Net.TCP
{
    public class DataBlockArgs : EventArgs
    {
        DataBlock _dataBlock;

        public DataBlock DataBlock
        {
            get { return _dataBlock; }
        }

        public DataBlockArgs(DataBlock dataBlock)
        {
            this._dataBlock = dataBlock;
        }
    }

    public class MessageBlockArgs : EventArgs
    {
        MessageBlock _messageBlock;

        public MessageBlock MessageBlock
        {
            get { return _messageBlock; }
        }

        public MessageBlockArgs(MessageBlock messageBlock)
        {
            this._messageBlock = messageBlock;
        }
    }
}
